import { Behaviour } from "../engine/Behaviour";

export class dateStorageInUI extends Behaviour {

    currentday=1//记录当前天数
    IsHasLengmian=false//cook场景是否做了冷面
    //charactornumber//当前天数需要完成的订单数
    putsausage=0
    putEgg =0
    putbacon =0
    putchiken=0
    putonion =0
    putxiangcai=0
    putsuanrong=0
    putconghua=0
    putsugar=0
    putlatiao=0
    putsauce=0
    putvinegar=0
    putspicy=0

    putBJUT = false

    currentOrder:string;


    IsFinishedinUI:boolean;

    onStart(){
        //this.IsHasLengmian=false
        //console.log("UI加载")
        console.log("当前场景：", this.engine.scenenumber)
        console.log(this.putEgg)
        if(this.engine.scenenumber==2){
            
            this.IsHasLengmian=true;
        }
        if(this.engine.scenenumber==4){
            this.IsHasLengmian=false;
            this.currentday++;
        }
    }
    onUpdate(){

    }
}